package com.neuedu.thread.lock;

public class TestLock {
        public static String objA = "strA";
        public static String objB = "strB";  
        
        public static void main(String[] args) {
            Lock1 l1=new Lock1();
            Thread t1=new Thread(l1);           
            Lock2 l2=new Lock2();
            Thread t2=new Thread(l2);
            
            t1.start();
            t2.start();
        }
    }
